package indi.woniu.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: wgt
 * Date: 2021/12/16:15:48
 * Description:用于多表查
 */
public class PoolDTO implements Serializable {

    private Integer id;
    /**
     * 题库名称
     */
    private String poolName;
    /**
     * 子关联父id
     */
    private Integer fid;
    /**
     * 排序
     */
    private Integer order;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 创建人
     */
    private String createMan;
    /**
     * 修改时间
     */
    private String updateMan;
/**
 *
 */
    private Question question;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPoolName() {
        return poolName;
    }

    public void setPoolName(String poolName) {
        this.poolName = poolName;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan;
    }

    public String getUpdateMan() {
        return updateMan;
    }

    public void setUpdateMan(String updateMan) {
        this.updateMan = updateMan;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public PoolDTO(Integer id, String poolName, Integer fid, Integer order, Date createTime, Date updateTime, String createMan, String updateMan, Question question) {
        this.id = id;
        this.poolName = poolName;
        this.fid = fid;
        this.order = order;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createMan = createMan;
        this.updateMan = updateMan;
        this.question = question;
    }

    public PoolDTO() {
    }

    @Override
    public String toString() {
        return "PoolDTO{" +
                "id=" + id +
                ", poolName='" + poolName + '\'' +
                ", fid=" + fid +
                ", order=" + order +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createMan='" + createMan + '\'' +
                ", updateMan='" + updateMan + '\'' +
                ", question=" + question +
                '}';
    }
}
